class Animal:
    # type = "动物的种类"
    ethnic = "动物的种类"
    account = "10001"
    def __init__(self,color,ethnic,gender,name):
        self.color = color
        self.ethnic = ethnic
        self.gender = gender
        self.name = name

    def to_String(self):
        print("这是一个{},它叫{}，它是{}的{}的可爱小{}".format(self.ethnic,self.name,self.gender,self.color,self.ethnic))

    @classmethod
    def eat(cls):
        print("动物要吃饭。。。")
        print(cls.ethnic,cls.account)
    @staticmethod
    def sleep():
        print("动物要睡觉。。。")